#ifndef CLIENT_H
#define CLIENT_H

#include "network/AbstractIOSocket.h"
#include "threading/AbstractThread.h"

class Server;

class AbstractClient : public AbstractThread, public AbstractIOSocket
{
    friend class Server;

public:
            AbstractClient(Server* server);
    virtual ~AbstractClient();

    bool    close();
    bool    connect();

private:
    Server* pServer_;
};

#endif // CLIENT_H
